package com.mikufufu.blog.model.vo.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 搜索VO
 * 
 */
@Data
public class SearchVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "搜索内容的ID")
    private Integer id;

    @ApiModelProperty(value = "搜索内容")
    private String content;

    @ApiModelProperty(value = "搜索结果的类型：1.文章，2.合集")
    private Integer type;

    @ApiModelProperty(value = "作者id")
    private Integer userId;

    @ApiModelProperty(value = "文章作者昵称")
    private String author;

    @ApiModelProperty(value = "分类ID")
    private String categoryId;

    @ApiModelProperty(value = "文章分类")
    private String category;

    @ApiModelProperty(value = "文章标签（英文逗号分割的字符串）")
    private String tag;
}
